// 数据库
const data = () => {
  return {
    userList: [
      { username: 'admin', zhUsername: '管理员', password: '123456' },
      { username: 'hekairui', zhUsername: '何凯瑞', password: '123456' }
    ],

    userInfo: {
      menuList: [
        {
          name: '表单应用',
          code: 'formApp',
          icon: 'Tickets',
          path: '',
          children: [
            {
              name: '表单示例',
              code: 'demo',
              icon: 'Document',
              path: '/formApp/demo',
            },
            {
              name: '自动补全输入框',
              code: 'autocomplete',
              icon: 'Discount',
              path: '/formApp/autocomplete',
            },
            {
              name: '级联选择器',
              code: 'cascader',
              icon: 'Discount',
              path: '/formApp/cascader',
            },
            {
              name: '多选框',
              code: 'checkbox',
              icon: 'Discount',
              path: '/formApp/checkbox',
            },
            {
              name: '取色器',
              code: 'colorPicker',
              icon: 'Discount',
              path: '/formApp/colorPicker',
            },
            {
              name: '日期选择器',
              code: 'datePicker',
              icon: 'Discount',
              path: '/formApp/datePicker',
            },
            {
              name: '日期时间选择器',
              code: 'dateTimePicker',
              icon: 'Discount',
              path: '/formApp/dateTimePicker',
            },
            {
              name: '输入框',
              code: 'input',
              icon: 'Discount',
              path: '/formApp/input',
            },
            {
              name: '数字输入框',
              code: 'inputNumber',
              icon: 'Discount',
              path: '/formApp/inputNumber',
            },
            {
              name: '单选框',
              code: 'radio',
              icon: 'Discount',
              path: '/formApp/radio',
            },
            {
              name: '评分',
              code: 'rate',
              icon: 'Discount',
              path: '/formApp/rate',
            },
            {
              name: '选择器',
              code: 'select',
              icon: 'Discount',
              path: '/formApp/select',
            },
            // {
            //   name: '虚拟化选择器',
            //   code: 'selectV2',
            //   icon: 'Discount',
            //   path: '/formApp/selectV2',
            // },
            {
              name: '滑块',
              code: 'slider',
              icon: 'Discount',
              path: '/formApp/slider',
            },
            {
              name: '开关',
              code: 'switch',
              icon: 'Discount',
              path: '/formApp/switch',
            },
            {
              name: '时间选择器',
              code: 'timePicker',
              icon: 'Discount',
              path: '/formApp/timePicker',
            },
            {
              name: '时间选择',
              code: 'timeSelect',
              icon: 'Discount',
              path: '/formApp/timeSelect',
            },
            {
              name: '上传',
              code: 'upload',
              icon: 'Discount',
              path: '/formApp/upload',
            },
            {
              name: '自定义',
              code: 'custom',
              icon: 'Discount',
              path: '/formApp/custom',
            },
          ],
        },
        {
          name: '表格式表单应用',
          code: 'tableFormApp',
          icon: 'Memo',
          path: '/tableFormApp'
        },
        {
          name: '意见或建议',
          code: 'callAuthor',
          icon: 'Service',
          path: '/callAuthor'
        },
      ],
      userInfo: {
        userId: 'admin',
        userAccount: 'admin',
        userName: '管理员',
        headIcon: '/api/file/Image/userAvatar/20220910_338421260440569413.png',
        organizeId: '17BEBDCB-248D-4668-B6CD-BF22A446BBD4',
        organizeName: '技术部',
        positionIds: [],
        positionName: '',
        prevLogin: 1,
        prevLoginTime: '1693380421000',
        prevLoginIPAddress: '127.0.0.1',
        prevLoginIPAddressName: '本地连接',
        roleIds: [],
        isAdministrator: true
      },
      sysConfigInfo: {
        sysName: 'vue os',
        sysVersion: 'V3.4.2',
        loginIcon: '/api/file/Image/annexpic/20230602_434270078196780229.jpg',
        copyright: 'Copyright @ 1998 Carrey无限公司版权所有',
        companyName: 'Carrey无限公司',
        sysDescription:
          '企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介企业简介。',
        companyUrl: 'http://www.wanghe.asia'
      },
      token: ''
    },

    tableData: [
      {
        id: '1',
        name: '刘大',
        sex: '男',
        age: '18',
      },
      {
        id: '2',
        name: '关二',
        sex: '男',
        age: '20',
      },
      {
        id: '3',
        name: '张三',
        sex: '男',
        age: '19',
      },
      {
        id: '4',
        name: '赵四',
        sex: '男',
        age: '18',
      },
      {
        id: '5',
        name: '长数据长数据长数据长数据长数据长数据长数据长数据长数据长数据长数据长数据长数据长数据长数据',
        sex: '女',
        age: '18',
      },
      {
        id: '6',
        name: '数据6',
        sex: '女',
        age: '18',
      },
      {
        id: '7',
        name: '数据7',
        sex: '女',
        age: '18',
      },
      {
        id: '8',
        name: '数据8',
        sex: '女',
        age: '18',
      },
      {
        id: '9',
        name: '数据9',
        sex: '女',
        age: '18',
      },
      {
        id: '10',
        name: '数据10',
        sex: '女',
        age: '18',
      },
      {
        id: '11',
        name: '数据11',
        sex: '女',
        age: '18',
      },
      {
        id: '12',
        name: '数据12',
        sex: '女',
        age: '18',
      },
      {
        id: '13',
        name: '数据13',
        sex: '女',
        age: '18',
      },
      {
        id: '14',
        name: '数据14',
        sex: '女',
        age: '18',
      },
      {
        id: '15',
        name: '数据15',
        sex: '女',
        age: '18',
      },
      {
        id: '16',
        name: '数据16',
        sex: '女',
        age: '18',
      },
      {
        id: '17',
        name: '数据17',
        sex: '女',
        age: '18',
      },
    ]
  }
}

export default data